package com.atguigu.srb.core.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @Description:
 * @Author: Gavin
 * @Date: 7/17/2023 8:01 PM
 */
@Data
@ApiModel("借款管理列表数据模型")
public class BorrowInfoVo {

    @ApiModelProperty(value = "编号")
    private Long id;
    @ApiModelProperty(value = "借款金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "借款期限")
    private Integer period;
    @ApiModelProperty(value = "年化利率")
    private BigDecimal borrowYearRate;
    @ApiModelProperty(value = "还款方式 1-等额本息 2-等额本金 3-每月还息一次还本 4-一次还本")
    private Integer returnMethod;
    @ApiModelProperty(value = "资金用途")
    private Integer moneyUse;
    @ApiModelProperty(value = "状态（0：未提交，1：审核中， 2：审核通过， -1：审核不通过 ，3: 已关闭 , 4：已完成）")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "用户姓名")
    private String name;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value="页面展示需要的字符串属性值")
    private Map<String,String> params = new HashMap<>();
}
